﻿using UtfprLibrary.EntityFramework.ComponentModel;
using System;

namespace UtfprLibrary.Windows.Forms.ComponentModel {
    [Serializable]
    public class UtfprRelatedEndDescription : IUtfprRelatedEndDescription {
        public UtfprRelatedEndDescription(bool isEagerLoaded, string relatedEndName) {
            this._isEagerLoaded = isEagerLoaded;
            this._relatedEndName = relatedEndName;
        }

        private bool _isEagerLoaded;
        public bool IsEagerLoaded {
            get { return _isEagerLoaded; }
            set { _isEagerLoaded = value; }
        }

        private string _relatedEndName;
        public string RelatedEndName {
            get { return _relatedEndName; }
        }
    }
}
